function before_episode(episode_num)

global e;
global num_players_r;
global parameter_dim;

e = zeros(num_players_r, parameter_dim); % initialize the eligibility traces to zero; one trace for each parameter vector

end